package com.parking.mgr.useraccount.model.param;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.parking.mgr.common.pojo.base.param.BasePageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.util.ArrayList;

/**
 * @ClassName BasicRoleMenuParam
 * @Description 角色功能菜单参数
 * @Auther: shilintao
 * @Date: 2023/5/30
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(description = "角色功能菜单请求数据")
public class BasicRoleMenuParam extends BasePageParam {

    /**
     * 主键
     */
    @ApiModelProperty(value = "ID")
    private String id;

    /**
     * 所属角色
     */
    @ApiModelProperty(value = "所属角色ID")
    @JsonProperty("fkBasicRoleId")
    private String fkBasicRoleId;

    /**
     * 所属菜单
     */
    @ApiModelProperty(value = "所属菜单ID")
    @JsonProperty("fkBasicMenuIds")
    private ArrayList<String> fkBasicMenuIds;

}
